package com.qwc.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 博主动态
 * </p>
 *
 * @author qwc
 * @since 2022-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Dynamic implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "dynamic_id", type = IdType.AUTO)
    private Integer dynamicId;

    /**
     * 动态描述
     */
    private String dynamic;

    /**
     * 0私有，1公开
     */
    private String status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 置顶时间
     */
    private Date topTime;

}
